package com.amumu.drama.common.modules.order.dto.req;

import com.amumu.drama.common.base.dto.base.BasePageReq;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author sunzhuang
 * @date 2024/9/14 10:32
 * @slogan 天下风云出我辈, 一入代码岁月催
 * @desc todo
 */

@Getter
@Setter
@ApiOperation("用户订单查询")
public class OrderQuery extends BasePageReq implements Serializable {

    @ApiModelProperty("订单状态：All->全部；WaitingPay->待付款；InProgress->进行中；Finished->已完成")
    @NotBlank(message = "订单状态不能为空")
    private String status = "ALL";
}
